﻿Imports DTO
Imports DAO

Public Class StaffBUS

    Public Function GetStaffByIdPass(ByVal id As Integer, ByVal pass As String) As StaffDTO
        Dim staffDao As New StaffDAO()
        Return staffDao.GetStaffByIdPass(id, pass)
    End Function
    Public Function GetStaffById(ByVal id As Integer) As StaffDTO
        Dim staffDao As New StaffDAO()
        Return staffDao.GetStaffById(id)
    End Function
End Class
